
package com.lottery.service.impl;

import java.util.List;

import com.lottery.service.impl.BaseManager;
import com.lottery.model.Lottery649;
import com.lottery.dao.Lottery649Dao;
import com.lottery.service.Lottery649Manager;
/*
* @aegis.mapping
*/
public class Lottery649ManagerImpl extends BaseManager implements Lottery649Manager {
    private Lottery649Dao dao;

    /**
     * Set the Dao for communication with the data layer.
     * @param dao
     */
    public void setLottery649Dao(Lottery649Dao dao) {
        this.dao = dao;
    }

    /**
     * @see com.lottery.service.Lottery649Manager#getLottery649s(com.lottery.model.Lottery649)
     */
    public List getLottery649s(final Lottery649 lottery649) {
        return dao.getLottery649s(lottery649);
    }

    /**
     * @see com.lottery.service.Lottery649Manager#getLottery649(String id)
     */
    public Lottery649 getLottery649(final String id) {
        return dao.getLottery649(new Long(id));
    }

    /**
     * @see com.lottery.service.Lottery649Manager#saveLottery649(Lottery649 lottery649)
     */
    public void saveLottery649(Lottery649 lottery649) {
        dao.saveLottery649(lottery649);
    }

    /**
     * @see com.lottery.service.Lottery649Manager#removeLottery649(String id)
     */
    public void removeLottery649(final String id) {
        dao.removeLottery649(new Long(id));
    }
}
